package cn.kgc.comment.service;

import cn.kgc.common.entity.Article;
import cn.kgc.common.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * Created by teacher ZHANG on 2022/11/23
 */
public interface CommentService extends IService<Comment> {
    public List<Map<String, Object>> listTopComments(Integer num);
    public List<Map<String, Object>> listCounts(List<Integer> idList);
    public Integer saveComment(Comment comment);
}
